package com.shengsiyuan.lesson8;

public enum Coin {
	penny("hello"), nickel("world"), dime("welcome"), quarter("world");
	
	private String value;

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */

	Coin(String value){
		this.value = value;
	}
	public static void main(String[] args) {
		String s = Coin.dime.getValue();
		System.out.println(s);
	}
	
}
